        <div class="clear"></div>
        <table  class="site">
            <tr>
                <td colspan="6"> 
                    <? //if($this->acl->check('dels')){ ?>
                        <input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="<?=lang('admin.deletes');?>">
                    <? //} ?>
                    <?=lang('admin.total');?>
                    <?=$total?>
                    <?=lang('admin.records');?>
                    <span class="pages">
                    <?=$pagination?>
                    </span> 
                </td>
            </tr>
            <tr>
                <td width="20px"><input type="checkbox" name="sa" id="sa" onClick="check_chose('sa', 'ar_id[]', 'checknew')" /></td>
                <td>Image</td>
                <td>Title</td>
                <td>Category</td>
                <td>Ext</td>
                <td>Delete</td>
            </tr>
   
                <? foreach($list as $rs): ?>
            <script>
                var img = new Object();
                    img.image_data_id="<?=$rs->image_data_id?>";
                    img.image_category_id="<?=$rs->image_category_id?>";
                    img.lb_title="<?=$rs->lb_title?>";
                    img.description="<?=$rs->description?>"; 
                    img.lb_name="<?=$rs->lb_name?>"; 
                    img.lb_dir="<?=$rs->lb_dir?>"; 
                    img.lb_size="<?=$rs->lb_size?>"; 
                    img.lb_ext="<?=$rs->lb_ext?>";
                    img.dt_create="<?=$rs->dt_create?>";
                arr_obj_img['<?=$rs->image_data_id?>']=img;
            </script>
            <tr>
                <td><input type="checkbox" name="ar_id[]" value="<?=$rs->image_data_id?>"></td>
                <td><a href="javascript:;" onClick="insert(Array(arr_obj_img['<?=$rs->image_data_id?>']));"><?=$this->icon_library->loadtypefile('uploads/images/'.$rs->lb_dir.'/'.$rs->lb_name,$rs->lb_ext)?></a></td>
                <td><a href="javascript:;" onClick="insert(Array(arr_obj_img['<?=$rs->image_data_id?>']));"><?=$rs->lb_title?></a></td>
                <td><a href="javascript:;" onClick="insert(Array(arr_obj_img['<?=$rs->image_data_id?>']));"><?=$rs->image_category_name?></a></td>
                <td><a href="javascript:;" onClick="insert(Array(arr_obj_img['<?=$rs->image_data_id?>']));"><?=$rs->lb_ext?></a></td>
                <td>
                    <?=icon_del($this->_module_name.'/image_manager/del/'.$rs->image_data_id.'/'.$return_tag.'/'.$width.'/'.$height.'/'.(int)$current_page);?>
                    <a onclick="edit_image('<?=$rs->image_data_id?>');" href="javascript:void(0);" title="Edit"><img src="<?=base_url().'templates/icon/edit.gif';?>"></a>
                </td>
            </tr>
        <? endforeach;?>
            <tr>
                <td colspan="6"> 
                    <? //if($this->acl->check('dels')){ ?>
                        <input type="submit" onclick="return verify_del();" name="btn_submit" class="submit" value="<?=lang('admin.deletes');?>">
                    <? //} ?>
                    <?=lang('admin.total');?>
                    <?=$total?>
                    <?=lang('admin.records');?>
                    <span class="pages">
                    <?=$pagination?>
                    </span> 
                </td>
            </tr>
        </table>
        <div class="pages"><?=$pagination?></div>